package com.jindy.module.oaInductionApproval.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.jindy.activiti.domain.ProcessEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.jindy.common.annotation.Excel;
import com.jindy.common.core.domain.BaseEntity;

/**
 * 入职审批对象 sy_oa_induction
 * 
 * @author jindy
 * @date 2023-05-29
 */
public class SyOaInduction extends ProcessEntity
{
    private static final long serialVersionUID = 1L;

    /** 自增id */
    private Long id;

    /** 员工姓名 */
    @Excel(name = "员工姓名")
    private String staffName;

    /** 部门id */
    @Excel(name = "部门id")
    private Long deptId;

    /** 部门名称 */
    @Excel(name = "部门名称")
    private String deptName;

    /** 职位id */
    @Excel(name = "职位id")
    private Long postId;

    /** 职位名称 */
    @Excel(name = "职位名称")
    private String postName;

    /** 员工类型 */
    @Excel(name = "员工类型")
    private String staffType;

    /** 手机号 */
    @Excel(name = "手机号")
    private String telephone;

    /** 入职日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "入职日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date entryTime;

    /** 申请人id */
    @Excel(name = "申请人id")
    private String applyUserId;

    /** 申请人姓名 */
    @Excel(name = "申请人姓名")
    private String applyUserName;

    /** 申请时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "申请时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date applyTime;

    /** 流程实例ID */
    @Excel(name = "流程实例ID")
    private String instanceId;

    /** 流程定义key */
    @Excel(name = "流程定义key")
    private String processKey;

    /** 身份证照片正面 */
    @Excel(name = "身份证照片正面")
    private String identityImgFront;

    /** 身份证照片反面 */
    @Excel(name = "身份证照片反面")
    private String identityImgBack;

    /** 毕业证书照片 */
    @Excel(name = "毕业证书照片")
    private String diplomaImg;

    /** 删除标志（0代表存在 2代表删除） */
    private String delFlag;

    /** 流水单号 */
    @Excel(name = "流水单号")
    private String serialNum;

    /** 业务状态 */
    @Excel(name = "业务状态")
    private String businessStatus;

    public String getBusinessStatus() {
        return businessStatus;
    }

    public void setBusinessStatus(String businessStatus) {
        this.businessStatus = businessStatus;
    }

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setStaffName(String staffName) 
    {
        this.staffName = staffName;
    }

    public String getStaffName() 
    {
        return staffName;
    }
    public void setDeptId(Long deptId) 
    {
        this.deptId = deptId;
    }

    public Long getDeptId() 
    {
        return deptId;
    }
    public void setDeptName(String deptName) 
    {
        this.deptName = deptName;
    }

    public String getDeptName() 
    {
        return deptName;
    }
    public void setPostId(Long postId) 
    {
        this.postId = postId;
    }

    public Long getPostId() 
    {
        return postId;
    }
    public void setPostName(String postName) 
    {
        this.postName = postName;
    }

    public String getPostName() 
    {
        return postName;
    }
    public void setStaffType(String staffType) 
    {
        this.staffType = staffType;
    }

    public String getStaffType() 
    {
        return staffType;
    }
    public void setTelephone(String telephone) 
    {
        this.telephone = telephone;
    }

    public String getTelephone() 
    {
        return telephone;
    }
    public void setEntryTime(Date entryTime) 
    {
        this.entryTime = entryTime;
    }

    public Date getEntryTime() 
    {
        return entryTime;
    }
    public void setApplyUserId(String applyUserId) 
    {
        this.applyUserId = applyUserId;
    }

    public String getApplyUserId() 
    {
        return applyUserId;
    }
    public void setApplyUserName(String applyUserName) 
    {
        this.applyUserName = applyUserName;
    }

    public String getApplyUserName() 
    {
        return applyUserName;
    }
    public void setApplyTime(Date applyTime) 
    {
        this.applyTime = applyTime;
    }

    public Date getApplyTime() 
    {
        return applyTime;
    }
    public void setInstanceId(String instanceId) 
    {
        this.instanceId = instanceId;
    }

    public String getInstanceId() 
    {
        return instanceId;
    }
    public void setProcessKey(String processKey) 
    {
        this.processKey = processKey;
    }

    public String getProcessKey() 
    {
        return processKey;
    }
    public void setIdentityImgFront(String identityImgFront) 
    {
        this.identityImgFront = identityImgFront;
    }

    public String getIdentityImgFront() 
    {
        return identityImgFront;
    }
    public void setIdentityImgBack(String identityImgBack) 
    {
        this.identityImgBack = identityImgBack;
    }

    public String getIdentityImgBack() 
    {
        return identityImgBack;
    }
    public void setDiplomaImg(String diplomaImg) 
    {
        this.diplomaImg = diplomaImg;
    }

    public String getDiplomaImg() 
    {
        return diplomaImg;
    }
    public void setDelFlag(String delFlag) 
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag() 
    {
        return delFlag;
    }
    public void setSerialNum(String serialNum) 
    {
        this.serialNum = serialNum;
    }

    public String getSerialNum() 
    {
        return serialNum;
    }

    @Override
    public String toString() {
        return "SyOaInduction{" +
                "id=" + id +
                ", staffName='" + staffName + '\'' +
                ", deptId=" + deptId +
                ", deptName='" + deptName + '\'' +
                ", postId=" + postId +
                ", postName='" + postName + '\'' +
                ", staffType='" + staffType + '\'' +
                ", telephone='" + telephone + '\'' +
                ", entryTime=" + entryTime +
                ", applyUserId='" + applyUserId + '\'' +
                ", applyUserName='" + applyUserName + '\'' +
                ", applyTime=" + applyTime +
                ", instanceId='" + instanceId + '\'' +
                ", processKey='" + processKey + '\'' +
                ", identityImgFront='" + identityImgFront + '\'' +
                ", identityImgBack='" + identityImgBack + '\'' +
                ", diplomaImg='" + diplomaImg + '\'' +
                ", delFlag='" + delFlag + '\'' +
                ", serialNum='" + serialNum + '\'' +
                ", businessStatus='" + businessStatus + '\'' +
                '}';
    }
}
